package com.ruoyi.map.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 垂钓指南 fh_map_guide
 *
 * @author ruoyi
 * @date 2024-11-12
 */
@Data
@ApiModel(value = "FhMapGuide",description = "垂钓指南实体")
public class FhMapGuide extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("id")
    private Long id;

    /** 主键 */
    @ApiModelProperty("鱼类id")
    private Long fishId;

    /** 标题 */
    @ApiModelProperty("标题")
    @Excel(name = "标题")
    private String topic;

    /** 描述 */
    @ApiModelProperty("描述")
    @Excel(name = "描述")
    private String descript;


    /** 创建时间 */
    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间")
    private String crateTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setFishId(Long fishId) {
        this.fishId = fishId;
    }

    public String getCrateTime() {
        return crateTime;
    }

    public String getDescript() {
        return descript;
    }

    public String getTopic() {
        return topic;
    }

    public Long getFishId() {
        return fishId;
    }

    public void setCrateTime(String crateTime) {
        this.crateTime = crateTime;
    }

    public void setDescript(String descript) {
        this.descript = descript;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("fishId", getFishId())
                .append("topic", getTopic())
                .append("descript", getDescript())
                .toString();
    }
}
